<?
/**
 * 
 **/
class helper_file
{
    /**
     * @brief 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
    public function read($file){
        $fp = fopen($file, "r");
        $fr = fread($fp,filesize($file));
        fclose($fp);
        return $fr;
    }

    /**
     * @brief 
     * @author hkkwon
     * @param                 |                         |        
     * @return                 |                         |        
     **/
    public function write($file, $sData){
        $fp = fopen($file, "w");
        fwrite($fp,$sData);
        fclose($fp);
        return $fr;
    }
}
